package com.channel.wxpublic.token;

import com.channel.base.WxChatService;
import com.cloud.base.annotation.ApiMapping;
import com.cloud.base.annotation.ApiProxy;
import org.springframework.http.HttpMethod;
import org.springframework.stereotype.Component;

@ApiProxy(requestClass = WxChatService.class, host = "https://api.weixin.qq.com")
public interface WxMpAccessToken {
    @ApiMapping(value = "/cgi-bin/token", method = HttpMethod.GET)
    AccessTokenData getAccessToken(AccessTokenParam param);
}
